#ifndef SPHERIZEDIALOG_H
#define SPHERIZEDIALOG_H

#include <QDialog>

namespace Ui {
class SpherizeDialog;
}

class SpherizeDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit SpherizeDialog(QWidget *parent = 0);
    ~SpherizeDialog();

    void setHeight(int height);
    void setHeightMaximum(int max);

signals:
    void heightChanged(int);
    void applyOperator(QString);
    void cancelOperator();

protected:
    void closeEvent(QCloseEvent *);
    void paintEvent(QPaintEvent *);

private slots:
    void emitHeightChanged(int height);
    void applyButtonClicked();
    void cancelButtonClicked();
    
private:
    Ui::SpherizeDialog *ui;
};

#endif // SPHERIZEDIALOG_H
